using System;
using System.Collections;

using LocalBoard.Domain;

namespace LocalBoard.Persistence
{
	/// <summary>
	/// Summary description for IPollItemAccessor.
	/// </summary>
	public interface IPollItemAccessor
	{
		ArrayList GetPollItemListByMessageId(int messageId);
		int Insert(PollItem pollItem, int messageId);
		void Delete(int id, int messageId);
		void PostPoll(int id, int messageId, int profileId);
		ArrayList GetVoterIdListByMessageId(int messageId);
		void DeleteVotersForPollMessage(int messageId);
	}
}
